package com.mzj.saas.mservice.lock.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/*
 *CPU卡库管理
 */
@Entity
@Table(name = "m_card_warehouse")
public class MCardWarehouse extends IdEntity {

    @Column(name = "card_number", nullable = true)
    private String cardNumber;//卡号

    @Column(name = "card_id", nullable = true)
    private String cardId;//卡id

    @Column(name = "record_user_id", nullable = true)
    private String recordUserId;//录入人iD

    @Column(name = "record_time", nullable = true)
    private Date recordTime;//录入时间

    @Column(name = "use_status", nullable = true)
    private byte useStatus;// 是否已使用 0否 1是

    @Column(name = "freeze_thaw_status", nullable = true)
    private byte freezeThawStatus;//0无 1正常 2已冻结

    @Column(name = "operator_id", nullable = true)
    private String operatorId;//操作人

    @Column(name = "operator_time", nullable = true)
    private Date operatorTime;//操作时间

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getRecordUserId() {
        return recordUserId;
    }

    public void setRecordUserId(String recordUserId) {
        this.recordUserId = recordUserId;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public byte getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(byte useStatus) {
        this.useStatus = useStatus;
    }

    public byte getFreezeThawStatus() {
        return freezeThawStatus;
    }

    public void setFreezeThawStatus(byte freezeThawStatus) {
        this.freezeThawStatus = freezeThawStatus;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getOperatorTime() {
        return operatorTime;
    }

    public void setOperatorTime(Date operatorTime) {
        this.operatorTime = operatorTime;
    }
}

